package com.example.travelhelper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.travelhelper.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface AdminMapper extends BaseMapper<Admin> {
    @Select("select * from admin where a_username = #{name}")
    Admin selectByName(String name);
}
